﻿using System;
using Castle.MonoRail.Framework;
using ElevatorSpeeches.Framework;

namespace ElevatorSpeeches.ViewComponents
{
    [Layout("default")]
    public class TopicListComponent : ViewComponent
    {

        public override void Render()
        {
            PropertyBag["Topics"] = SpeechTopic.FindAll();
            base.Render();
        }
        
    }
}
